We want to show left/right side pages during navigation, also in
FolderViews. Let this scrollview use the same style than the "all
apps" one, and generalize the name a bit.
This will compress the scrollview horizontally, so there's actual
overflow space to show these pages.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1630>
}
// Some hacks I don't even know
-.all-apps {
+.apps-scroll-view {
// horizontal padding to make sure scrollbars or dash don't overlap content
padding: 0 88px;
}
// Scroll View
this._scrollView = new St.ScrollView({
+ style_class: 'apps-scroll-view',
clip_to_allocation: true,
x_expand: true,
y_expand: true,
this._pageManager = new PageManager();
this._pageManager.connect('layout-changed', () => this._redisplay());
- this._scrollView.add_style_class_name('all-apps');
-
this._stack = new St.Widget({
layout_manager: new Clutter.BinLayout(),
x_expand: true,